<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>物料记录</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<link href="/sbm/css/table.css" rel="stylesheet" type="text/css" />

</head>

<body>
	<table width="68%" id="mytab" border="1" class="t1" align="center">
		<tr>
			<td align="center"><span class="errorAndmes"><s:actionerror
						cssStyle="font-family: Arial,Helvetica,sans-serif" /> </span></td>
		</tr>
	</table>
	<table width="68%" id="mytab" border="1" class="t1" align="center">
		<tr>
			<th width="8%">物料名称</th>
			<th width="16%">地址描述</th>
			<th width="8%">物料单价</th>
			<th width="8%">物料单位</th>
			<th width="8%">物料总量</th>
			<th width="10%">物料总价值</th>
			<th width="10%">操作</th>
		</tr>
		<s:iterator value="storelist" id="store">
			<tr>
				<td><s:property value="#store.addname" /> <s:hidden
						name="store.storeid" />
				</td>
				<td><s:property value="#store.adddescription" />
				</td>
				<td><s:property value="#store.unitcost" />
				</td>
				<td><s:property value="#store.unit" />
				</td>
				<td><s:property value="#store.qty" />
				</td>
				<td><s:property value="#store.price" />
				</td>
				<td><a
					href="<s:url action="showonestore"><s:param name="store.storeid" value="#store.storeid" /></s:url>">物料转移</a>
				</td>
			</tr>
		</s:iterator>
	</table>
	<table width="68%" id="mytab" border="1" class="t1" align="center">
		<tr>
			<td align="right"><a href="showallitem">查看所有物料</a></td>
		</tr>
	</table>
</body>
</html>